package com.woniu.microcommonsserver.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author lhy
 * @email 1045238869@qq.com
 * @date 2021-01-27 09:25:21
 */
@Data
@TableName("poster_comment_info")
public class PosterCommentInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 评论id
	 */
	@TableId
	private Long id;
	/**
	 * 评论信息
	 */
	private String commentInformation;
	/**
	 * 帖子ID
	 */
	private Long fkPosterId;
	/**
	 * 状态 0-启用 1-禁用
	 */
	private Integer commentState;
	/**
	 * 用户id
	 */
	private Long fkUserId;
	/**
	 * 评论时间
	 */
	private Date commentTime;
	/**
	 * 回复ID[默认为0,表示普通评论,回复评论时：replyId值是被评论数据的ID]
	 */
	private Long replyId;

}
